
import 'user_model.dart';

class Message {
  final User sender;
  final String time;
  final String text;
  final bool isLiked;
  final bool unread;

  Message(this.sender, this.time, this.text, this.isLiked, this.unread);
}

// CURRENT USER
final User currentUser = User(0, "Current User", "assets/images/greg.jpg");

// USERS
final User greg = User(1, '王医生', 'assets/images/greg.jpg');
final User james = User(2, '倪大夫', 'assets/images/james.jpg');
final User john = User(3, '葛护士', 'assets/images/john.jpg');
final User olivia = User(4, '张主任', 'assets/images/olivia.jpg');
final User sam = User(5, 'sam', 'assets/images/sam.jpg');
final User sophia = User(6, 'sophia', 'assets/images/sophia.jpg');
final User steven = User(7, 'steven', 'assets/images/steven.jpg');

// FAVORITE CONTACTS
List<User> favorites = [greg, james, john, olivia, sam];

// EXAMPLE CHATS ON HOME SCREEN
List<Message> chats = [
  Message(greg, '5:30PM', "Hey ,最近身体情况有好转吗？", false, true),
  Message(
    olivia,
    '4:30 PM',
    "Hey ,我们正在考虑给你安排转院",
    false,
    true,
  ),
  Message(
    john,
    '3:30 PM',
    "Hey ,备注下 肿瘤内科 汤传昊主任医师",
    false,
    false,
  ),

  Message(
    steven,
    '1:30 PM',
    "Hey ,how is it going?",
    false,
    false,
  ),
];

// EXAMPLE MESSAGES IN CHAT SCREEN
List<Message> messages = [
  Message(
    james,
    '5:30 PM',
    '您好，我是本溪市红十字会医院，倪敏建医生',
    true,
    true,
  ),
  Message(
    currentUser,
    '4:30 PM',
    '耳朵发炎 里面有水，胸疼怎么办',
    false,
    true,
  ),
  Message(
    james,
    '3:45 PM',
    '是耳朵里面吗？?',
    false,
    true,
  ),
  Message(
    james,
    '3:15 PM',
    '你好，不知道你身体皮肤出现哪方面问题，有果有红痒痛的症状，可以外用龙珠软膏观察一下，方便时发一张清晰的照片让我看一下。',
    true,
    true,
  ),
  Message(
    currentUser,
    '2:30 PM',
    '是的，痒了几天，今天耳朵里面很疼，疼的厉害。',
    false,
    true,
  ),
  Message(
    james,
    '2:00 PM',
    '您好，根据您咨询的问题，如果耳朵内部出现炎症，建议您到五官科找医生检查一下，我这里是皮肤科平台，这方面不专业。',
    false,
    true,
  ),
];
